<!DOCTYPE html>

<html devsite="">
<head>
<title>tflite::FileCopyAllocation Class Reference</title>
<meta name="page_type" value="reference"/>
<meta content="reference" name="page_type"/></head>
<body><div id="top"><!-- do not remove this div --></div><h1>tflite::<wbr/>FileCopyAllocation</h1><h2>Summary</h2><h3>Inheritance</h3>Inherits from: <a href="/lite/api_docs/cc/class/tflite/allocation">tflite::Allocation</a><table class="constructors responsive">
<tr>
<th colspan="2">
<h3>Constructors and Destructors</h3>
</th>
</tr>
<tr>
<td colspan="2">
<code><a href="#classtflite_1_1_file_copy_allocation_1ac8f0596c9cd8c67859f6101546eaa16e">FileCopyAllocation</a>(const char *filename, <a href="/lite/api_docs/cc/class/tflite/error-reporter.html#classtflite_1_1_error_reporter">ErrorReporter</a> *error_reporter)</code>
<br/>
<div>Loads the provided file into a heap memory region. </div>
</td>
</tr>
<tr>
<td colspan="2">
<code><a href="#classtflite_1_1_file_copy_allocation_1a7924f85c486f0472ff0770e47c58f1ff">~FileCopyAllocation</a>()</code>
<br/>
</td>
</tr>
</table><table class="methods responsive">
<tr>
<th colspan="2">
<h3>Public functions</h3>
</th>
</tr>
<tr>
<td>
<code><a href="#classtflite_1_1_file_copy_allocation_1afa421955fb26d528334f9a7fbd8d1550">base</a>() const override</code>
</td>
<td>
<div>
<code>const void *</code>
</div>
</td>
</tr>
<tr>
<td>
<code><a href="#classtflite_1_1_file_copy_allocation_1a649dd9f8844fa3ff805e3b92ae9e1072">bytes</a>() const override</code>
</td>
<td>
<div>
<code>size_t</code>
</div>
</td>
</tr>
<tr>
<td>
<code><a href="#classtflite_1_1_file_copy_allocation_1abee7921184711b059f7a1286aade6a33">valid</a>() const override</code>
</td>
<td>
<div>
<code>bool</code>
</div>
</td>
</tr>
</table><h2>Public functions</h2><div id="classtflite_1_1_file_copy_allocation_1ac8f0596c9cd8c67859f6101546eaa16e">
<h3>FileCopyAllocation</h3>
<pre class="prettyprint"> FileCopyAllocation(
  const char *filename,
  <a href="/lite/api_docs/cc/class/tflite/error-reporter.html#classtflite_1_1_error_reporter">ErrorReporter</a> *error_reporter
)</pre>
<div>
<p>Loads the provided file into a heap memory region. </p>
</div>
</div><div id="classtflite_1_1_file_copy_allocation_1afa421955fb26d528334f9a7fbd8d1550">
<h3>base</h3>
<pre class="prettyprint">const void * base() const override</pre>
<div></div>
</div><div id="classtflite_1_1_file_copy_allocation_1a649dd9f8844fa3ff805e3b92ae9e1072">
<h3>bytes</h3>
<pre class="prettyprint">size_t bytes() const override</pre>
<div></div>
</div><div id="classtflite_1_1_file_copy_allocation_1abee7921184711b059f7a1286aade6a33">
<h3>valid</h3>
<pre class="prettyprint">bool valid() const override</pre>
<div></div>
</div><div id="classtflite_1_1_file_copy_allocation_1a7924f85c486f0472ff0770e47c58f1ff">
<h3>~FileCopyAllocation</h3>
<pre class="prettyprint"> ~FileCopyAllocation() override</pre>
<div></div>
</div></body>
</html>
